import request from '../utils/request'

export function list(params) {
  return request({
    url: '/bargainBuy/list',
    method: 'get',
    params:params
  })
}

export function getOrderList(params) {
  return request({
    url: '/bargainBuy/getOrderList',
    method: 'get',
    params:params
  })
}

export function find(id) {
  return request({
    url: '/bargainBuy/find/' + id,
    method: 'get'
  })
}
